<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<button type="button" onclick="app()">点击</button>
		<script type="text/javascript">
		
		function app(){
		document.body.bgColor="#000";
		window.setInterval("star()",1000);
		25 }
		    var x = getRandom(0,window.innerWidth);
		    var y = getRandom(0,window.innerHeight);
		        img.setAttribute("style","position:absolute;left:"+x+"px;top:"+y+"px;");
		        img.setAttribute("onclick","removeImg(this)");
		        document.body.appendChild(img);
		}
		</script>
	</body>
</html>
